package com.woniuxy.entity.dto.stationPile;

import com.woniuxy.entity.po.stationPile.Station;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

/**
 * display列表展示字段
 */
@Data
@NoArgsConstructor
public class StationDisplayDTO {
    private Long id;
    private String stationNum;
    private String stationName;
    private Long stationTypeId;
    private String stationTypeValue;
    private String location;
    private Integer carPileCount;
    private Integer bikePileCount;
    private Integer busPileCount;
    private String user;
    private Integer stationCondition;
    public StationDisplayDTO(Station station) {
        BeanUtils.copyProperties(station, this);
    }
}
